@import "../../pages/base.scss";
.detail {
  margin: 0 20px 0 0;
  background-color: transparent;
  position: relative;
  @media screen and (max-width: 768px) {
    margin:0 14px;
    min-height: calc(100vh - 160px);
  }
  @media screen and (min-width: 768px) {
    min-height: calc(100vh - 205px);
  }

  .wacoal {
    position: absolute;
    width: 28px;
    height: 28px;
    background: url('/icon/king.png') no-repeat;
    background-size: 100% 100%;
    top: 20px;
    left: 20px;
    z-index: 1;
  }

  .otherMsg {
    padding-bottom: 18px;
    @media screen and (max-width: 768px) {
      padding-bottom: 8px;
    }
    .title {
      color: $themeColor;
      word-break: break-all;
      font-size: 22px;
      display: block;
      text-align: center;
      padding: 10px 0;

    }

    .date {
      text-align: center;
      color: #cccccc;
      font-size: 1em;

      & > span:first-child {
        padding-right: 10px;
      }
    }
  }
}

.detailMain {
  background-color: #ffffff;
  padding: 6px 16px;
}

.good {
  margin-top: 30px;
  height: 70px;
  text-align: center;
  padding-top: 20px;
}

.comment {
  width: 100%;
  margin-top: 15px;
  .comment {
    height: 185px;
    width: 100%;
    border: 1px solid #dcdcdc;
    background: #ffffff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: inset 2px 2px 6px rgba(0, 0, 0, .8);
    .write {
      width: 100%;
      height: 100px;
      textarea {
        width: 100%;
        height: 100px;
        border: none;
        background: #ffffff;
        outline: none;
        display: block;
        line-height: 22px;
        font-size: 15px;
        background-attachment: scroll;
        resize: none;
        padding: 0;
      }
    }
  }
  .operation {
    width: 100%;
    height: 60px;
    display: -webkit-box;
    display: flex;
    -webkit-box-pack: end;
    justify-content: flex-end;
    .left {
      width: 40%;
      padding-top: 15px;
      i {
        font-size: 25px;
      }
    }
    .right {
        margin-top: 10px;
        width: 60%;
        display: -webkit-box;
        display: flex;
        -webkit-box-pack: end;
        justify-content: flex-end;
        .name {
          height: 40px;
          width: 200px;
          float: right;
          border-radius: 20px;
          padding: 10px 16px 11px;
          box-shadow: inset 2px 2px 6px rgba(0, 0,0,.8);
          cursor: default;
          margin: 0 30px 0 0;
          i {
            font-size: 20px;
          }
          input {
              height: 20px;
              width: 140px;
              background: none;
              outline: none;
              border: none;
              font-size: 16px;
          }
      }
      .submit {
          width: 100px;
          height: 40px;
          background-color: #5cacee;
          border-radius: 25px;
          text-align: center;
          line-height: 40px;
          color: #fff;
          font-size: 15px;
      }
    }
  }
}

.detailMain {
  position: relative;
  p {
    line-height: 1.6;
    font-style: normal;
    color: rgb(59, 69, 78);
    font-size: 16px;
    word-break:break-all;
    img{
      max-width: 100%;
    }
  }
  code{
    margin: 0 2px;
    padding: 2px 6px;
    border-radius: 6px;
    background-color: #eeeeee;
    display: inline;
    vertical-align: bottom;
    line-height: 1.5;
    word-break:break-all;
  }
  em{
    color: #807e7e;
  }
  //strong{
  //  color: $themeColor;
  //}

  pre {
    code{
      background-color: transparent;
    }
    padding: 0.75rem 0.15rem 0.75rem 0.8rem;
    background-color: #183055 !important;
    color: #f8f8f2 !important;
    border: none;
    border-radius: 6px;

    & > code {
      line-height: 1.55rem;
    }
  }
  h1,h2,h3,h4,h5,h6{
    font-weight: bold;
  }
  table{
    margin: 10px 0;
    tr{
      &:nth-child(2n){
        background-color:#f5f7f9
      }
      th{
        text-align:center;
        font-weight:bold;
        border:1px solid #dfe2e5;
        margin:0;
        padding:6px 13px;
      }
      td{
        border:1px solid #dfe2e5;
        margin:0;
        padding:6px 13px;
      }
    }
    thead{
      background-color:#f5f7f9
    }
  }
  ul {
    list-style-type:disc;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    padding-inline-start: 30px;
  }
  li{
    color: rgb(59, 69, 78);
  }
  a{
    word-break:break-all;
  }
}

.watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50% -50%);
  // background: url('../../public/images/watermark.svg');
  //background-size: 100% 100%;
}